package cn.edu.wzu.openlearning.pojo;

import java.util.Date;

public class UserWordFamiliarity {
    // 用户单词熟悉度
    private Integer id;
    private Integer userId;
    private Integer wordId;
    private Integer wordFamiliarity;
    private Date lastUpdateTime;

    public UserWordFamiliarity() {
    }

    public UserWordFamiliarity(Integer id, Integer userId, Integer wordId, Integer wordFamiliarity, Date lastUpdateTime) {
        this.id = id;
        this.userId = userId;
        this.wordId = wordId;
        this.wordFamiliarity = wordFamiliarity;
        this.lastUpdateTime = lastUpdateTime;
    }

    @Override
    public String toString() {
        return "UserWordFamiliarity{" +
                "id=" + id +
                ", userId=" + userId +
                ", wordId=" + wordId +
                ", wordFamiliarity=" + wordFamiliarity +
                ", lastUpdateTime=" + lastUpdateTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public Integer getWordFamiliarity() {
        return wordFamiliarity;
    }

    public void setWordFamiliarity(Integer wordFamiliarity) {
        this.wordFamiliarity = wordFamiliarity;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
